<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>插值语法练习</title>
		<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
	</head>
	<body>
		<div id="box">
			姓名: <input type="text" v-model="name"> <br>
			公司名: <input type="text" v-model="company"> <br>
			<h1>{{ name }}@{{ company }}.com</h1>
		</div>
		<script type="text/javascript">
			const vm = new Vue({
				el:'#box',
				data:{
					name:'',
					company:''
				}
			})
		</script>
	</body>
</html>
